-- GENERATED SPELL FOR [Tidewalker Lurker] --


function spell0_21920(pUnit, Event) --@Carnivorous Bite,n/a--
pUnit:FullCastSpellOnTarget(41932,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21920', 15000, 1)
end

function Sorts_21920(pUnit, Event)
local choix_sorts_21920 = math.random(0, 0)
if choix_sorts_21920 == 0 then
pUnit:RegisterEvent('spell0_21920', 1, 1)
end
end

function mob21920_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21920', math.random(1500, 3000), 1)
end

function mob21920_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21920_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21920_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21920, 1, 'mob21920_Action')
RegisterUnitEvent(21920, 2, 'mob21920_Leave')
RegisterUnitEvent(21920, 3, 'mob21920_Kill')
RegisterUnitEvent(21920, 4, 'mob21920_Die')
